﻿ALTER TABLE [dbo].[Versions]
    ADD CONSTRAINT [FK_Version_Component] FOREIGN KEY ([Component_id]) REFERENCES [dbo].[Components] ([Id]) ON DELETE CASCADE ON UPDATE NO ACTION;

